package com.ruoyi.student.mapper;

import com.ruoyi.student.domain.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {
    List<Student> queryAll();

    int addStudent(Student student);

    List<Student> queryStudentByName(String sname);

    void updateStudent2(Student student);

    void deleteStudent2(int id);

}
